package com.wxb.service.impl;

import com.wxb.domain.MallHelpIssueEntity;
import com.wxb.domain.MallHelpTypeEntity;
import com.wxb.mapper.MallHelpIssueMapper;
import com.wxb.service.IMallHelpTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 14:06
 * @Version 1.0
 * @Description
 * @ClassName MallHelpTypeServiceImpl
 **/
@Service
public class MallHelpTypeServiceImpl implements IMallHelpTypeService {
    @Autowired
    private MallHelpIssueMapper helpIssueDao;

    public MallHelpTypeEntity queryObject(Integer id) {
        return helpIssueDao.queryObject(id);
    }

    public List<MallHelpTypeEntity> queryList(Map<String, Object> map) {
        return helpIssueDao.queryList(map);
    }

    public int queryTotal(Map<String, Object> map) {
        return helpIssueDao.queryTotal(map);
    }

    public int save(MallHelpTypeEntity helpIssue) {
        return helpIssueDao.save(helpIssue);
    }

    public int update(MallHelpTypeEntity helpIssue) {
        return helpIssueDao.update(helpIssue);
    }

    public int delete(Integer id) {
        return helpIssueDao.delete(id);
    }

    public int deleteBatch(Integer[] ids) {
        return helpIssueDao.deleteBatch(ids);
    }
}
